﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace MVCMongo.ViewModel.Submit
{
    public class UrlInfoViewModel
    {
        public string Title { get; set; }
        public string Description { get; set; }
        public string ImageURl { get; set; }
        public string Tag { get; set; }
        public int CategoryId { get; set; }
        public string Url { get; set; }
       
    }
    public class Url_Info
    {
        [Required(ErrorMessage = "*")]
        public string Url { get; set; }
    }
   
}